package br.JZSolution.domineduplex


class Usuario{

	String nome
	String senha
	String email
	String ip
	Integer porta
	Boolean online

    Date dateCreated
    Date lastUpdated

    static hasMany = [listaDeContatos: Usuario]

    static constraints = {
        email(unique:true)
        ip(nullable:true)
        porta(nullable:true)
        online(nullable:true)
    }
    
}


